<nz-modal [(nzVisible)]="isVisible"
          [nzWidth]="600" nzTitle="批量生产设备码"
          (nzOnCancel)="handleCancel()"
          (nzOnOk)="handleOk()"
          [nzOkLoading]="isOkLoading"
          [nzFooter]="null"
>
  <nz-spin [nzSpinning]="isSpinning">
    <form nz-form [formGroup]="formModel" class="deviceEditForm">
      <nz-form-item>
        <nz-form-label [nzSpan]="5" nzRequired>测试协议</nz-form-label>
        <nz-form-control [nzSpan]="15">
          <nz-input-group>
            <input type="text" nz-input  formControlName="cmd" placeholder="请输入测试协议" />
          </nz-input-group>
        </nz-form-control>
      </nz-form-item>

      <div class="steps-action">
        <button nz-button nzType="primary" (click)="handleOk()">
          <span>确&nbsp;&nbsp;&nbsp;&nbsp;认</span>
        </button>
      </div>
    </form>

  </nz-spin>
</nz-modal>
